<div class="layer">
    <img src="${ require('../../images/hashiqi.jpg')}" alt="">
    <div>this is <%= name %> layer</div>
    <% for (var i = 0; i < arr.length; i++){ %>
        <%= arr[i] %>
    <% } %>
</div>